package com.zhku.onlineshop.Dao;




import com.zhku.onlineshop.Pojo.OrderItem;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderItemDao {
    @Insert("INSERT INTO order_items (order_id, product_id, quantity, price) VALUES (#{order_id}, #{product_id}, #{quantity}, #{price})")
    void insertOrderItem(OrderItem orderItem);
}
